Search
LayoutBuilder.CreateAndAddPlotAndAxes Method
See Also
 






Creates a GridPanel containing the specified plot and axis renderers. The panel is automatically added to the dashboard's LayoutPanel.

Namespace: MindFusion.Charting.Controls
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public GridPanel CreateAndAddPlotAndAxes (
    Plot2D plot,
    XAxisRenderer[] top,
    YAxisRenderer[] left,
    XAxisRenderer[] bottom,
    YAxisRenderer[] right
)

Visual Basic  Copy Code

Public Function CreateAndAddPlotAndAxes( _
    plot As Plot2D, _
    top() As XAxisRenderer, _
    left() As YAxisRenderer, _
    bottom() As XAxisRenderer, _
    right() As YAxisRenderer _
) As GridPanel

 Parameters

plot

A Plot2D instance.

top

An array of XAxisRenderer components that should be placed at top side of the plot.

left

An array of YAxisRenderer components that should be placed at left side of the plot.

bottom

An array of XAxisRenderer components that should be placed at bottom side of the plot.

right

An array of YAxisRenderer components that should be placed at right side of the plot.

 Return Value

A GridPanel instance.

 See Also